package server.catalina;

import java.util.List;

/**
 * Servlet引擎
 */
public class Engine {

    /**
     * Servlet引擎底下配置的多个虚拟站点
     */
    private List<Host> hosts;

    public List<Host> getHosts() {
        return hosts;
    }

    public void setHosts(List<Host> hosts) {
        this.hosts = hosts;
    }

    @Override
    public String toString() {
        return "Engine{" +
                "hosts=" + hosts +
                '}';
    }
}
